package com.example.demo.model;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

@Data
// 继承 Serializable ，使 Userinfo 具有 序列化和反序列化的功能
public class Userinfo implements Serializable {
    private int id;
    private String username;
    private String password;
    private String photo;
    private Date createtime;
    private String updatetime;
    private int state;
}
